import { EnglishPracticeContent } from '@/types';

/**
 * 模拟详情页JSON数据
 * 实际应用中，这些数据将从对应的JSON文件加载
 */
export const detailData: Record<number, EnglishPracticeContent> = {
  1: {
    id: 1,
    title: "日常购物场景",
    backgroundDescription: "你正在一家大型超市购物，需要购买一周的生活用品。超市里商品种类齐全，有食品区、日用品区、生鲜区等多个区域。你需要询问店员某些商品的位置，并与收银员进行简单交流。",
    robotRole: "超市店员，热情友好，熟悉各类商品的摆放位置，能够提供购物建议和帮助。",
    keyVocabulary: ["shopping cart", "checkout counter", "discount", "receipt", "promotion", "aisle", "shelf", "product", "brand", "expiration date"],
    scenarioDialogue: "Customer: Excuse me, could you tell me where I can find the organic milk?\nStaff: Certainly! The organic milk is in the dairy section, on the second shelf from the bottom.\nCustomer: Thank you. And do you have any promotions on cereal this week?\nStaff: Yes, we have a buy-one-get-one-free offer on the whole grain cereals near the bakery section.\nCustomer: Great, thank you for your help!",
    practiceTips: [
      "使用礼貌用语如'Excuse me'、'Could you...'和'Thank you'来寻求帮助",
      "询问商品位置时可以使用'Where can I find...?'或'Could you direct me to...?'",
      "询问价格时使用'How much does... cost?'或'What's the price of...?'",
      "表达偏好时可以使用'I prefer...'或'I'm looking for...'"
    ],
    exampleSentences: [
      "Do you accept credit cards here?",
      "Could you please bag these items separately?",
      "Is there a restroom in this supermarket?",
      "I'd like to return this item, I have the receipt.",
      "Where is the nearest ATM machine?"
    ]
  },
  
  2: {
    id: 2,
    title: "餐厅点餐场景",
    backgroundDescription: "你和朋友来到一家西餐厅就餐。餐厅环境优雅，提供各种西式美食和饮品。你需要查看菜单，向服务员询问菜品详情，并最终完成点餐。",
    robotRole: "餐厅服务员，专业且有礼貌，熟悉菜单上的所有菜品，能够推荐特色菜和解答顾客疑问。",
    keyVocabulary: ["menu", "appetizer", "main course", "dessert", "beverage", "specialty", "ingredient", "spicy", "medium-rare", "bill"],
    scenarioDialogue: "Waiter: Good evening! Welcome to our restaurant. Here are your menus.\nCustomer: Thank you. Could you tell me what today's special is?\nWaiter: Our special today is the grilled salmon with lemon butter sauce, served with seasonal vegetables.\nCustomer: That sounds good. What ingredients are in the Caesar salad?\nWaiter: It contains romaine lettuce, croutons, Parmesan cheese, and our special Caesar dressing.\nCustomer: I'll have the Caesar salad as an appetizer and the salmon special as my main course.",
    practiceTips: [
      "点餐时可以使用'I'll have...'或'I'd like to order...'",
      "询问菜品内容时使用'What's in...?'或'Does... contain...?'",
      "要求特殊烹饪方式时可以说'I'd like my steak cooked medium-rare'",
      "需要更多时间决定时可以说'Could we have a few more minutes to decide?'",
      "准备结账时使用'Could we get the bill, please?'"
    ],
    exampleSentences: [
      "Is this dish spicy?",
      "Can I substitute the fries with a side salad?",
      "Do you have any vegetarian options?",
      "Could we get some more water, please?",
      "The food was delicious, thank you!"
    ]
  },
  
  3: {
    id: 3,
    title: "机场登机场景",
    backgroundDescription: "你即将乘坐国际航班出国旅行，现在位于机场的值机柜台前。你需要办理登机手续，托运行李，并询问关于航班和机场设施的信息。",
    robotRole: "机场地勤人员，专业高效，能够处理登机手续、行李托运等事宜，并提供航班相关信息。",
    keyVocabulary: ["boarding pass", "luggage", "check-in", "security checkpoint", "gate", "boarding time", "departure", "arrival", "delay", "terminal"],
    scenarioDialogue: "Agent: Good morning! May I see your passport and flight ticket, please?\nPassenger: Sure, here you are. I'm flying to New York today.\nAgent: Thank you. Would you like to check any luggage?\nPassenger: Yes, this suitcase. How many bags can I check for free?\nAgent: You're allowed two checked bags up to 23kg each. Would you prefer a window or aisle seat?\nPassenger: A window seat, please, if available.\nAgent: Here's your boarding pass. Your gate is A15, and boarding starts at 10:30 am.",
    practiceTips: [
      "办理登机手续时准备好护照/身份证和机票",
      "询问登机口信息使用'What gate is my flight?'",
      "询问航班状态使用'Is the flight on time?'",
      "需要帮助时可以说'Could you help me find...?'",
      "表达担忧时使用'I'm worried about missing my flight'"
    ],
    exampleSentences: [
      "Where is the nearest restroom?",
      "How do I get to terminal 3 from here?",
      "Is there a currency exchange in this terminal?",
      "What time does the boarding process start?",
      "Can you tell me where the duty-free shops are located?"
    ]
  },
  
  // 为简洁起见，只展示前3个完整数据，实际应用中会包含所有6个场景的数据
  4: {
    id: 4,
    title: "医院问诊场景",
    backgroundDescription: "你感觉身体不适，来到医院就诊。你需要向医生描述你的症状，回答医生的问题，并了解诊断结果和治疗方案。",
    robotRole: "医生，专业且有耐心，能够询问病情细节，做出诊断并提供治疗建议。",
    keyVocabulary: ["symptom", "prescription", "temperature", "pain", "allergy", "treatment", "diagnosis", "appointment", "medicine", "injection"],
    scenarioDialogue: "Doctor: Good morning. What seems to be the problem?\nPatient: I've been feeling unwell for the past few days. I have a headache and a sore throat.\nDoctor: Do you have a fever?\nPatient: I think so. I also have a cough and feel very tired.\nDoctor: Let me check your temperature and listen to your chest... It sounds like you have the flu. I'll prescribe some medicine for you.",
    practiceTips: [
      "描述症状时要清晰具体，使用'I have a...'或'I feel...'",
      "说明症状持续时间使用'It started... days ago'",
      "询问病情时使用'What's wrong with me?'或'Is it serious?'",
      "询问药物使用方法使用'How should I take this medicine?'",
      "表达担忧时使用'I'm concerned about...'"
    ],
    exampleSentences: [
      "I'm allergic to penicillin.",
      "How long will it take for me to recover?",
      "Do I need to take time off work?",
      "Is there any side effect of this medication?",
      "Should I come back for a follow-up appointment?"
    ]
  },
  
  5: {
    id: 5,
    title: "工作面试场景",
    backgroundDescription: "你正在参加一个理想公司的工作面试。面试官会询问你的工作经验、技能和职业规划等问题，你需要自信地展示自己的优势和能力。",
    robotRole: "公司面试官，专业且有洞察力，通过提问了解你的背景、技能和适合度。",
    keyVocabulary: ["resume", "experience", "skill", "qualification", "teamwork", "responsibility", "challenge", "achievement", "salary", "benefit"],
    scenarioDialogue: "Interviewer: Good morning. Thank you for coming to the interview. Could you tell me about your previous work experience?\nCandidate: Thank you for having me. I've been working as a marketing assistant for the past two years...\nInterviewer: What are your greatest strengths?\nCandidate: I'm a quick learner and work well under pressure. I also have strong communication skills.\nInterviewer: Why do you want to work for our company?\nCandidate: I admire your company's innovative approach and would like to contribute to your marketing team.",
    practiceTips: [
      "面试开始时使用'Good morning/afternoon, thank you for inviting me.'",
      "回答问题时要简明扼要，突出重点",
      "描述经验时使用过去时态，描述能力时使用现在时态",
      "准备问面试官的问题，如'What are the main challenges of this role?'",
      "面试结束时使用'Thank you for your time and consideration.'"
    ],
    exampleSentences: [
      "I'm responsible for managing social media accounts in my current job.",
      "I developed a new system that improved efficiency by 20%.",
      "I work well both independently and as part of a team.",
      "I'm looking for opportunities to develop my leadership skills.",
      "What career development opportunities are available in this position?"
    ]
  },
  
  6: {
    id: 6,
    title: "公园休闲场景",
    backgroundDescription: "周末的下午，你在公园散步，遇到了一位外国朋友。你们开始聊天，谈论天气、爱好、周末计划等轻松话题，进行日常英语交流练习。",
    robotRole: "外国朋友，友好健谈，对中国文化感兴趣，愿意进行语言交流和文化分享。",
    keyVocabulary: ["weather", "hobby", "exercise", "picnic", "pet", "scenery", "season", "outdoor", "relax", "friend"],
    scenarioDialogue: "Friend: Hi there! Beautiful day, isn't it?\nYou: Yes, it's perfect weather for being outside.\nFriend: Do you come to this park often?\nYou: I try to come at least once a week for a walk. What about you?\nFriend: I just moved to this neighborhood, so I'm exploring the area.\nYou: There's a nice café near the east entrance if you're looking for a place to relax.\nFriend: Thanks for the recommendation! I enjoy walking and taking photos of nature.",
    practiceTips: [
      "日常交流时使用简单自然的语言",
      "保持对话流畅，不要害怕犯错",
      "使用积极的肢体语言和面部表情",
      "学会提问来延续对话，如'What do you like to do in your free time?'",
      "没听清时可以说'Could you repeat that, please?'或'I'm sorry, I didn't catch that.'"
    ],
    exampleSentences: [
      "The flowers are blooming beautifully this spring.",
      "Do you enjoy outdoor activities?",
      "How long have you been living in this city?",
      "Would you like to join our picnic next Sunday?",
      "This is my dog, Max. He loves meeting new people."
    ]
  }
};